#import "dfhgwhruebvhrheyblastwhistleViewController.h"
@interface dfhgwhruebvhrheyblastwhistleViewController ()
@property (weak, nonatomic) IBOutlet UIView *line;
@property (weak, nonatomic) IBOutlet UILabel *serviceTwoText;
@property (weak, nonatomic) IBOutlet UILabel *serviceOneText;
@end
@implementation dfhgwhruebvhrheyblastwhistleViewController
- (void)viewDidLoad {
    [super viewDidLoad];
	[self loadUI];
	[self.line drawDashLine:primary_color.dhgfywegwygeydwlearneddesignate];
	self.serviceOneText.text = [@"Tel:" stringByAppendingString:[[NSUserDefaults standardUserDefaults] stringForKey:dhgfywegwygeydwharmonynasty]];
	self.serviceTwoText.text = [@"Tel:" stringByAppendingString:[[NSUserDefaults standardUserDefaults] stringForKey:dhgfywegwygeydwnastydisposition]];
}
- (void)loadUI {
	[self configBackIcon:@"dhgfywegwygeydwcurvereciprocal"];
	self.navigationStyle = dhgfywegwygeydwreciprocaltransport;
	self.navigationItem.title = @"Customer Service";
}
- (IBAction)tapServicePhoneView:(UITapGestureRecognizer *)sender {
	switch (sender.view.tag) {
		case 100: {
			NSLog(@"11");
			NSString *num1 = [[NSUserDefaults standardUserDefaults] stringForKey:dhgfywegwygeydwharmonynasty];
			if (![num1 hasPrefix:@"0"]) {
				num1 = [@"0" stringByAppendingString:num1];
			}
			NSString *phoneString = [NSString stringWithFormat:@"tel:+63%@",num1];
			NSURL * urlPhone = [NSURL URLWithString:phoneString];
			if ([[UIApplication sharedApplication] canOpenURL:urlPhone]) {
				[[UIApplication sharedApplication] openURL:urlPhone options:@{} completionHandler:nil];
			}
		}
			break;
		case 200: {
			NSLog(@"22");
			NSString *num2 = [[NSUserDefaults standardUserDefaults] stringForKey:dhgfywegwygeydwnastydisposition];
			if (![num2 hasPrefix:@"0"]) {
				num2 = [@"0" stringByAppendingString:num2];
			}
			NSString *phoneString = [NSString stringWithFormat:@"tel:+63%@",num2];
			NSURL * urlPhone = [NSURL URLWithString:phoneString];
			if ([[UIApplication sharedApplication] canOpenURL:urlPhone]) {
				[[UIApplication sharedApplication] openURL:urlPhone options:@{} completionHandler:nil];
			}
		}
			break;
		default:
			break;
	}
}
@end
